package io.ent.modules.file.entity;

import lombok.Data;

@Data
public class Result {

	//状态
	private int status;

	//提示信息
	private String message;
	
	//上传成功后返回文件路径
	private String filePath;
	
	//真实名称
	private String trueName;
	
	//保存的名称
	private String saveName;

	public Result(int status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public Result(int status, String message, String filePath) {
		super();
		this.status = status;
		this.message = message;
		this.filePath = filePath;
	}
	
	public Result(int status, String message, String filePath, String trueName, String saveName) {
		super();
		this.status = status;
		this.message = message;
		this.filePath = filePath;
		this.trueName = trueName;
		this.saveName = saveName;
	}
	
}
